package gameEngine.agents.observationSystem.samples;

import org.apache.log4j.Logger;
/**
 * factory for sample type currently only one type
 * @author alon
 *
 */
public class SampleFactory {

	static Logger log=Logger.getLogger(gameEngine.agents.observationSystem.samples.SampleFactory.class);
	
	public static Sample create(int type,int id,double score ,int round ,int choise){
		switch(type){
		case 0:
			log.debug("created ObservationData");
			return new ObservationData(id,score,round,choise);
		}
		log.debug("type "+type+" not matched return ObservationData");
		return new ObservationData(id,score,round,choise);
	}
}
